<?php
/**
* 功能: ajax重新发送验证码
* 创建日期:Thu Nov 24 09:52:16 CST 2011
* 最后更新:
* 作者: slash
*/
include_once("ThePage.class.php");
$page = new ThePage();

$mob = isset($_POST['mob']) ? $_POST['mob'] : '';
$icpcode = isset($_POST['icpcode']) ? intval($_POST['icpcode']) : 0;
$arr = get_icpcode_info($icpcode);
if(empty($arr)){
	echo "参数错误";
	exit;
}
if(empty($mob)){
	echo "手机号缺失";
	exit;
}

$send_pj = Factory::getItemClass('id5_note');

$mob_code = mem_code($mob,$resend_time);
$rs = $send_pj->id5_send($icpcode,$mob,$mob_code,1);

if($rs){ 
//if(put_sms($mob,$mob_code,$icpcode)){
	echo "重新发送成功";
}